package com.yiyuan.system.dao;

import java.util.List;

import com.yiyuan.system.model.Role;

public interface IRoleDao {
	public void add(Role role);

	public List<Role> findList(int startIndex, int endIndex,String roleName);

	public int getPageCount(String roleName);

	public void update(Role role);

	public void delete(Role role);

	public Role get(Integer roleId);
	
	public List<Role> findList();
}
